// pages/menu/menu.js
Page({
  content(e){
    let index = e.currentTarget.dataset.index
    let content = this.data.menus[index]
    wx.navigateTo({
      url: content.path,
    })
  },
  data: {
    menus:[{
      title:'数据绑定',
      path:'/pages/1/first',
      jj:'数据绑定',
    },{
      title:'猜猜猜',
      path:'/pages/cai/caicai',
      jj:'列表渲染、键盘输入、事件处理',
    },{
      title:'朋友们',
      path:'/pages/friends/friends',
      jj:'列表渲染: wx:for wx:key,item,index',
    },{
      title:'儿童故事',
      path:'/pages/story/story',
      jj:'类样式绑定\nvideo:自动播放 、投屏、倍速播放',
    },{
      title:'旋风视频',
      path:'/pages/xuanfeng/xuanfeng',
      jj:'电影、电视剧、综艺、动漫、体育',
    },{
      title:'心情日记',
      path:'/pages/diary/index',
      jj:'云操作',
    },]
  },

})